import CodoBase from "../../lib/CodoBase";
import ZKV6000InnerApiManager from "../../lib/zk_v6000/inner";
import ZKV6000PublicApiManager from "../../lib/zk_v6000/public";
import { ZKV6000 } from "../../lib/zk_v6000/type";

export default class CodoZKV6000 extends CodoBase {
	/** v6000内置api管理器类提供给外部继承使用 */
	ZKV6000InnerApiManager = ZKV6000InnerApiManager;
	/** v6000开放api管理器类提供给外部继承使用 */
	ZKV6000PublicApiManager = ZKV6000PublicApiManager;
	/** 获取一个对接v6000的inner api的实例 */
	getInnerApiInstance(params: ZKV6000.inner.ZKV6000InnerApiParams) {
		return new ZKV6000InnerApiManager(this.app, params);
	}
	/** 获取一个对接v6000的public api的实例 */
	getPublicApiInstance(params: ZKV6000.public.ZKV6000PublicApiParams) {
		return new ZKV6000PublicApiManager(this.app, params);
	}
}
